package entity;
import anno.TableField;
import anno.TableName;

import java.io.Serializable;

/**
 * <ul>
 * <li>Title: Entity</li>
 * <li>Description: TODO </li>
 * </ul>
 *
 * @author ken
 * @date 2021/4/28 0028 上午 10:59
 */
@TableName("T_ENTITY")
public class Entity implements Serializable{

    //书名
    private String title;

    //作者
    private String author;


    //出版社  0:北京出版社 1.上海出版社
    @TableField(exist = false)
    private String pressType;

    //出版社
    private String press;

    public Entity(String title, String author, String pressType) {
        this.title = title;
        this.author = author;
        this.pressType = pressType;
    }

    public  String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPressType() {
        return pressType;
    }

    public void setPressType(String pressType) {
        this.pressType = pressType;
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press;
    }
}
